package com.itkf.core.configCenter;

import com.alibaba.nacos.api.exception.NacosException;
import com.itkf.core.config.DtpProperties;

public interface ConfigCenterService {
    /**
     * 注册中心初始化
     */
    void init();
    /**
     * 订阅配置变更
     */
    void subscribe(ConfigChangeListener listener);

    /**
     * 关闭客户端
     */
    void close() throws Exception;
}
